home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1997 #1
/
Amiga Plus CD - 1997 - No. 01.iso
/
pd
/
hardware
/
parallelporttester
/
parallelportctrl&tst.doc
< prev
next >
Wrap
Text File
|
1995-10-08
|
4KB
|
106 lines
Parallelport testing hard- and software - © Ber 1996
========================================
This archive contents a description to built a parallelport test
adaptor and two programmes to control the bits at this port.
(Only amiga internal parallelport.)
The hardware checks the lines and indicates a dataflow over the
port.
(All parallelports e.g. of I/O-cards or other [non-amiga] pc's.)
With one programme you are able to set and clear all databits
and the signals Bsy, POut and Sel additional (testing the port).
The other programme is only to set and clear the databits.
This is usefull to control a connected relay-card.
In both programmes you can switch the power-led high and low
(this switches also the audio filter in most amiga models).
Hardware
--------
- Porttesthardware (ParPortHardware.iff, 13822 bytes):
I put the circuit into a little case. There is one cable
to the amiga port and a socket for the desired equipment
(e.g. a printer). For that the port should be passed through.
Use the ParallelPortTest programme to check the port.
Also now you can see the dataflow to you periphery in operation.
The +5 Volt come from the joystickport. It is possible to get
the + 5 V from the parallelport itself (Pin 14), but there is a
resistor (47 Ohm) in the line and that is too much. I soldered
a fuse with 250 mA parallel to the resistor and now I have full
5 V at the parallelport.
For use with other computersystems you have to connect a socket
for external power supply to the circuit.
Don't forget some condensors for the circuit. Connect unused
inputs of TTL to +5 V, don't connect unused ouputs.
For the LED's I used low power types of 5 mm. Then the resistors
should have 330 to 470 Ohm depending on the colour of the LED's.
Software
--------
- ParallelPortControl V1.4, 34884 bytes:
Controls each bit of the parallelport with the keys <1> to <8>.
Key <9> switches the amiga power-led bright and dark.
This switches also the audio filter of your amiga on and off
(not all models).
All states are also preserved after terminating the programme.
Now it is possible to cook the coffee with the amiga by using
a relay-card and a coffee machine. Only amiga made it possible.
- ParallelPortTest V1.4, 37184 bytes:
This programme is for the port test hardware.
It controls each bit of the parallelport with the keys
<1> to <8>. Key <9> switches the amiga power-led bright
and dark. This switches also the audio filter of your
amiga on and off (not all models).
Additional controls of the signals Bsy, POut and Sel.
Key <0> switches all databits, Bsy, POut and Sel at the same time.
When terminating the programme, all bits are cleared (set to zero),
exept the state of the power-led (audio filter) isn't changed.
The programmes were made using A68k and Blink.
Seems to work with Kick V1.3, OS 2.04, OS 3.1 and 68010, 68020, 68030.
It's a hardware hack because the port bits are changed by writing
direct to the coresponding registers.
Some adresses are mirrowed in the system, so I don't know the
original adress of the bit.
In ParallelPortControl and ParallelPortTest I use different
adresses, but both programmes seems to work without differences.
Is there someone who knows the registeradresses to control the
signals \DRdy and \Ack?
\Res is controled by pressing the keys <ctrl> <lA> <rA>
(the \Res signal is connected to the amiga reset line. So it's
absurd to take that function into programm).
Bugs:
Programmes screen output is corrupt if you use proportional fonts.
(Fonts with fixed width are no problem. The programmes adapt to the
size of the font automaticaly.)
- Ber